package com.gulimall.common.api.member.service;

import com.gulimall.common.api.member.req.MemberCreateReq;
import com.gulimall.common.utils.R;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Package: com.gulimall.common.api.member.service
 * Description：用户模块对外API
 * Author: huangjian
 * Date:  2020/7/9 16:07
 * Modified By:
 */
@RequestMapping("member")
public interface MemberApi {
    @PostMapping(value = "/create")
    R createMember(@RequestBody MemberCreateReq req);

    @RequestMapping("/myList")
    R myList();
}
